﻿using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace Hotel.Model
{
    [Table("Admin")]
    public class Admin
    {
        /// <summary>
        /// 管理员id
        /// </summary>
        [Key]
        public int Id { get; set; }
        /// <summary>
        /// 管理员的账号
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 管理员的密码
        /// </summary>
        public string Pwd { get; set; }
    }
}
